<?php
class lappersediaandetailcontroller extends CI_Controller{
	
	function __construct(){
		parent::__construct();
		$this->load->helper('form');
		$this->load->library('form_validation');
		$this->load->model('lappersediaandetail_model');
	}
	
	function detail()
	{    
		$idkddet = $this->uri->segment(3);

		$dataprofile = array(
			'page_title' => 'Laporan > Persediaan Detail Barang',
			'name' => $this->session->userdata('fullname'),
			'detail_stock' => $this->lappersediaandetail_model->getdetailstock($idkddet)			
		);		
		$content = array(
			'content' => 'laporan/lappersediaandetail'
		);
		$this->template->load('templates/default',$content,$dataprofile);	
	}
}